<nz-modal [(nzVisible)]="isVisible"
          [nzWidth]="560" [nzTitle]="'添加'"
          (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()"
          [nzOkLoading]="isOkLoading"
>
  <!--  <nz-spin [nzSpinning]="isSpinning">-->
  <form nz-form [formGroup]="formModel">

    <nz-form-item>
      <nz-form-label [nzSpan]="5" nzRequired nzFor="mobile">标题</nz-form-label>
      <nz-form-control [nzSm]="15"  [nzXs]="24"  nzErrorTip="请输入标题">
        <input nz-input  formControlName="title"  placeholder="请输入标题"/>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
      <nz-form-label [nzSpan]="5" nzRequired nzFor="mobile">是否显示</nz-form-label>
      <nz-form-control [nzSm]="15"  [nzXs]="24">
        <nz-switch formControlName = "status" nzCheckedChildren="显示" nzUnCheckedChildren="隐藏"></nz-switch>
      </nz-form-control>
    </nz-form-item>
  </form>
  <!--  </nz-spin>-->
</nz-modal>
